package com.tianyalei.wolf.sample.application;

import android.app.Application;

import com.facebook.drawee.backends.pipeline.Fresco;

/**
 * Created by wolf on 2016/3/25.
 */
public class MyApplication extends Application {
    private static MyApplication mInstance;
    public static MyApplication getInstance() {
        return mInstance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mInstance = this;
        //初始化Fresco图片加载
        Fresco.initialize(this);
    }
}
